INCLUDES=lib/haskell-utils

all:run
	

lib/haskell-utils:
	svn co http://ws9lx.lsv.uni-saarland.de/repos/gchrupala/haskell-utils/ lib/haskell-utils

run: lib/haskell-utils
	ghc --make -O2 -isrc:$(INCLUDES) -o bin/sequor src/ghc_rts_opts.c src/Main.hs

clean:
	-find . -name '*.o'  | xargs rm
	-find . -name '*.hi' | xargs rm

